import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set from '@dfeidao/atom-web/local/set';
import set_node_cls from '@dfeidao/atom-web/ui/set-node-cls';

export default async function a001(fd: IFeidaoAiBrowserComponent, no: string) {// 特性新增弹框的显示
	// todo
	console.log('zj-000007:a001----start');
	// 显示设置特性关联窗口
	fd.data.node.style.display = 'block';
	const n = fd.data.node.querySelector<HTMLDivElement>('[data-id="setadd"]');
	set_node_cls(n, 'display-n', false);

	set(fd, 'source', no);
	console.log('zj-000007:a001----end');
}
